package com.ruoyi.datastatistics.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 抄表率统计对象 t_meter_reading_rate
 *
 * @author gdqt
 * @date 2024-03-06
 */
@TableName("t_meter_reading_rate")
public class MeterReadingRate implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 租户ID
     */
    @Excel(name = "租户ID")
    @TableField("tenant_id")
    private String tenantId;

    /**
     * 区域编号
     */
    @Excel(name = "区域编号")
    @TableField("sheets_code")
    private String sheetsCode;

    @Excel(name = "区域编号")
    @TableField("sheets_id")
    private String sheetsId;

    public String getSheetsId() {
        return sheetsId;
    }

    public void setSheetsId(String sheetsId) {
        this.sheetsId = sheetsId;
    }

    /**
     * 昨天应抄量
     */
    @Excel(name = "昨天应抄量")
    @TableField("yester_day_y")
    private Integer yesterDayY;

    /**
     * 昨天实抄量
     */
    @Excel(name = "昨天实抄量")
    @TableField("yester_day_s")
    private Integer yesterDayS;

    /**
     * 昨天抄表率
     */
    @Excel(name = "昨天抄表率")
    @TableField("yester_day")
    private BigDecimal yesterDay;

    /**
     * 近七天应抄量
     */
    @Excel(name = "近七天应抄量")
    @TableField("nearly_seven_days_y")
    private Integer nearlySevenDaysY;

    /**
     * 近七天实抄量
     */
    @Excel(name = "近七天实抄量")
    @TableField("nearly_seven_days_s")
    private Integer nearlySevenDaysS;

    /**
     * 近七天抄表率
     */
    @Excel(name = "近七天抄表率")
    @TableField("nearly_seven_days")
    private BigDecimal nearlySevenDays;

    /**
     * 近30天应抄量
     */
    @Excel(name = "近30天应抄量")
    @TableField("nearly_days_y")
    private Integer nearlyDaysY;

    /**
     * 近30天实抄量
     */
    @Excel(name = "近30天实抄量")
    @TableField("nearly_days_s")
    private Integer nearlyDaysS;

    /**
     * 近30天抄表率
     */
    @Excel(name = "近30天抄表率")
    @TableField("nearly_days")
    private BigDecimal nearlyDays;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    @TableField("create_time")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getSheetsCode() {
        return sheetsCode;
    }

    public void setSheetsCode(String sheetsCode) {
        this.sheetsCode = sheetsCode;
    }

    public Integer getYesterDayY() {
        return yesterDayY;
    }

    public void setYesterDayY(Integer yesterDayY) {
        this.yesterDayY = yesterDayY;
    }

    public Integer getYesterDayS() {
        return yesterDayS;
    }

    public void setYesterDayS(Integer yesterDayS) {
        this.yesterDayS = yesterDayS;
    }

    public BigDecimal getYesterDay() {
        return yesterDay;
    }

    public void setYesterDay(BigDecimal yesterDay) {
        this.yesterDay = yesterDay;
    }

    public Integer getNearlySevenDaysY() {
        return nearlySevenDaysY;
    }

    public void setNearlySevenDaysY(Integer nearlySevenDaysY) {
        this.nearlySevenDaysY = nearlySevenDaysY;
    }

    public Integer getNearlySevenDaysS() {
        return nearlySevenDaysS;
    }

    public void setNearlySevenDaysS(Integer nearlySevenDaysS) {
        this.nearlySevenDaysS = nearlySevenDaysS;
    }

    public BigDecimal getNearlySevenDays() {
        return nearlySevenDays;
    }

    public void setNearlySevenDays(BigDecimal nearlySevenDays) {
        this.nearlySevenDays = nearlySevenDays;
    }

    public Integer getNearlyDaysY() {
        return nearlyDaysY;
    }

    public void setNearlyDaysY(Integer nearlyDaysY) {
        this.nearlyDaysY = nearlyDaysY;
    }

    public Integer getNearlyDaysS() {
        return nearlyDaysS;
    }

    public void setNearlyDaysS(Integer nearlyDaysS) {
        this.nearlyDaysS = nearlyDaysS;
    }

    public BigDecimal getNearlyDays() {
        return nearlyDays;
    }

    public void setNearlyDays(BigDecimal nearlyDays) {
        this.nearlyDays = nearlyDays;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tenantId", getTenantId())
                .append("sheetsCode", getSheetsCode())
                .append("createTime", getCreateTime())
                .append("yesterDay", getYesterDay())
                .append("nearlySevenDays", getNearlySevenDays())
                .append("nearlyDays", getNearlyDays())
                .append("yesterDayY", getYesterDayY())
                .append("yesterDayS", getYesterDayS())
                .append("nearlySevenDaysY", getNearlySevenDaysY())
                .append("nearlySevenDaysS", getNearlySevenDaysS())
                .append("nearlyDaysY", getNearlyDaysY())
                .append("nearlyDaysS", getNearlyDaysS())
                .toString();
    }
}
